package com.ruoyi.inducement.mapper;

import com.ruoyi.inducement.domain.InducementLog;
import com.ruoyi.inducement.domain.SelectInducementLog;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface InducementMapper {

    /**
     * 添加调查信息
     * @param inducementLog
     * @return
     */
    public int insertInducementLog(InducementLog inducementLog);

    /**
     * 查询所有的调查信息
     * @return
     */
    public List<InducementLog> selectInducementLogAll();

    /**
     * 根据条件查询调查信息（图片信息）
     * @param selectInducementLog
     * @return
     */
    public List<InducementLog> selectInducementLogByCondition(SelectInducementLog selectInducementLog);

    /**
     * 根据条件查询调查人人名
     * @return
     */
    public List<String> selectphotographerByCondition(SelectInducementLog selectInducementLog);

    /**
     * 根据条件查询调查信息（图片信息）
     * 自己用
     * @param inducementLog
     * @return
     */
    public List<InducementLog> selectInducementLogByConditionMyself(InducementLog inducementLog);

    /**
     *
     */
    public List<String> selectAllImagePath();

    /**
     * 根据条件查询tag
     * @param selectInducementLog
     * @return
     */
    public List<String> selectTagByCondition(SelectInducementLog selectInducementLog);

    public int updateManualTag(InducementLog inducementLog);

}
